kirillbdev\WCUkrShipping\Modules\Frontend\CheckoutValidator S

Total Complexity 34
Dependencies 0
Dependents 1
Total lines 149
Lines of code 87
Logical lines of code 40
Comment lines 29
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
validateAddressShipping()
S
56 7 19
removeDefaultFieldsFromValidation()
S
57 6 17
validateFields()
S
65 4 10
maybeDisableDefaultFields()
S
70 3 5
validateWarehouseShipping()
S
68 3 7
getTypeToValidate()
S
70 3 6
isNovaPoshtaSelected()
S
69 3 6
maybeAddressShippingSelected()
S
74 2 4
init()
S
74 1 4
addErrorNotice()
S
72 1 6
checkoutValidationActive()
S
79 1 3